package com.yxw.live_vod_facade.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiexuxin
 * @date 2023-11-17
 */
@Data
@ApiModel(value = "YxVideoCoinVO", description = "视频币明细VO")
public class YxVideoCoinVO implements Serializable {

    @ApiModelProperty("主键ID")
    private Long videoCoinId;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("商户id")
    private Long shopkeeperId;

    @ApiModelProperty("商户名称")
    private String shopkeeperName;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("明细")
    private String detail;

    @ApiModelProperty("金额")
    private String amount;

    @ApiModelProperty("交易单号")
    private String transactionNum;

    @ApiModelProperty("交易时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date tradingTime;

    @ApiModelProperty("视频币余额")
    private String liveCoin;
}
